package lenybxb

import (
	"fmt"
	"strings"
)

/**
 * @ProjectName: go-test
 * @PackageName: lenybxb
 * @Description:
 * @Author: hy.bai
 * @Date: 2025-07-18 11:38
 */
func TestJoin() {
	var str = "hello world"
	strArr := strings.Split(str, " ")
	var result = strings.Join(strArr, "--")
	fmt.Printf("结果类型是:%T, 值是:%v", result, result)
	// 打印结果是：结果类型是:string, 值是:hello--world
}
